package com.bw.service.impl;

import com.bw.domain.State;
import com.bw.mapper.StateMapper;
import com.bw.service.StateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author :Beyond🎸🎸
 * @date : 2025-03-11 21:13:46
 * @description Rock and Roll
 **/
@Service
public class StateServiceImpl implements StateService {

    @Autowired
    StateMapper stateMapper;

    @Override
    public List<State> list(State state) {
        return stateMapper.list(state);
    }

    @Override
    public List<State> listSell() {
        return stateMapper.listSell();
    }

    @Override
    public List<State> listNew() {
        return stateMapper.listNew();
    }
}
